package com.mc.lab.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.mc.common.annotation.Excel;
import com.mc.common.core.domain.BaseEntity;

/**
 * 种子活性到期 对象 lab_germplasm_exprie
 *
 * @author mc
 * @date 2021-03-17
 */
public class LabGermplasmExprie extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private Long id;

    /** 货架位置 */
    @Excel(name = "货架位置")
    private String shelveId;

    /** 到期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dueDate;

    /** 处理方式 */
    @Excel(name = "处理方式")
    private String handleType;

    /** 处理人 */
    @Excel(name = "处理人")
    private String handleUserId;

    /** 处理时间 */
    @Excel(name = "处理时间")
    private String handleTime;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setShelveId(String shelveId)
    {
        this.shelveId = shelveId;
    }

    public String getShelveId()
    {
        return shelveId;
    }
    public void setDueDate(Date dueDate)
    {
        this.dueDate = dueDate;
    }

    public Date getDueDate()
    {
        return dueDate;
    }
    public void setHandleType(String handleType)
    {
        this.handleType = handleType;
    }

    public String getHandleType()
    {
        return handleType;
    }
    public void setHandleUserId(String handleUserId)
    {
        this.handleUserId = handleUserId;
    }

    public String getHandleUserId()
    {
        return handleUserId;
    }
    public void setHandleTime(String handleTime)
    {
        this.handleTime = handleTime;
    }

    public String getHandleTime()
    {
        return handleTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("shelveId", getShelveId())
                .append("dueDate", getDueDate())
                .append("handleType", getHandleType())
                .append("handleUserId", getHandleUserId())
                .append("handleTime", getHandleTime())
                .toString();
    }
}